package com.neuedu.entity;

public class Goods {
	private Integer gid;
	private String gname;
	private double gprice;
	private Integer gstock;
	private Integer gsell;
	private String gimg;
	private String gdepict;
	private Integer tid;
	
	public Goods() {}
	public Goods(Integer gid, String gname, double gprice, Integer gstock, Integer gsell, String gimg, String gdepict,
			Integer tid) {
		super();
		this.gid = gid;
		this.gname = gname;
		this.gprice = gprice;
		this.gstock = gstock;
		this.gsell = gsell;
		this.gimg = gimg;
		this.gdepict = gdepict;
		this.tid = tid;
	}
	public Integer getGid() {
		return gid;
	}
	public void setGid(Integer gid) {
		this.gid = gid;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public double getGprice() {
		return gprice;
	}
	public void setGprice(double gprice) {
		this.gprice = gprice;
	}
	public Integer getGstock() {
		return gstock;
	}
	public void setGstock(Integer gstock) {
		this.gstock = gstock;
	}
	public Integer getGsell() {
		return gsell;
	}
	public void setGsell(Integer gsell) {
		this.gsell = gsell;
	}
	public String getGimg() {
		return gimg;
	}
	public void setGimg(String gimg) {
		this.gimg = gimg;
	}
	public String getGdepict() {
		return gdepict;
	}
	public void setGdepict(String gdepict) {
		this.gdepict = gdepict;
	}
	public Integer getTid() {
		return tid;
	}
	public void setTid(Integer tid) {
		this.tid = tid;
	}
	@Override
	public String toString() {
		return "Goods [gid=" + gid + ", gname=" + gname + ", gprice=" + gprice + ", gstock=" + gstock + ", gsell="
				+ gsell + ", gimg=" + gimg + ", gdepict=" + gdepict + ", tid=" + tid + "]";
	}
	

}
